package com.ts.order.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ts.common.security.annotation.LoginUser;
import com.ts.common.security.dto.UserToken;
import com.ts.order.dto.OrderDTO;
import com.ts.order.entity.Order;
import org.springframework.web.bind.annotation.RequestBody;

/**
 *
 * @author Zhendong Song
 * @time 2023/7/10 17:53
 */
public interface OrderService extends IService<Order> {

    boolean create(@LoginUser UserToken userToken, @RequestBody OrderDTO orderDTO);
}

